package fileds

type StatusType int

const (

	// Enable 正常
	Enable = 1

	// Disable 禁用
	Disable = -1

	// Unknown 未知
	Unknown = 0

)

func (s StatusType)String() string {
	switch s {
	case Enable:
		return "正常"
	case Disable:
		return "禁用"
	case Unknown:
		return "未知"
	default:
		return "未知"

	}
}



